<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>

	<script type="text/javascript">

	var str = 10;

	switch(str){
		case 10:
		  alert("这个是a");
		  break;
		case 'b':
		  alert("这个是b");
		  break;
		case 'c':
		  alert("这个是c");
		  break;
		case 'd':
		  alert("这个是d");
		  break;
		default:
		 	alert("一个都不是");
	}


	document.write("<p>学并思</p>");
	


	</script>
</head>
<body>
	
</body>
</html>